package com.service.serviceInterface;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.apiresult.CommonResult;
import com.common.domain.dto.MaintainDTO;
import com.common.domain.dto.MaintainQueryDTO;
import com.system.entity.Maintain;

/**
 *
 */
public interface MaintainService extends IService<Maintain> {

    CommonResult add(MaintainDTO dto, long userId);

    CommonResult updateMainTain(MaintainDTO dto);

    CommonResult getData(MaintainQueryDTO dto, long userId);

    CommonResult getMainTainsDataByPlumber(MaintainQueryDTO dto);
}
